public class RectPrism

	{
		double length;
		double width;
		double height;
	
	
		public RectPrism(double length, double width, double height)
	
		{
			this.length = length;
         this.width = width;
			this.height = height;

		}
		
		public double getSurfaceArea()//for rect prism
		{
		
			return ((2*length*width)+(2*width*height)+(2*length*height));
		}
		
		public double getVolume()//for rect prism
		{
		
			return (length*width*height);
			
		}
	}